<script>
var arr=new Array();arr[1]=10;alert("arr[1]="+arr[1]+ ";arr.length="+arr.length);
</script>